Repetier-Firmware  1.0.0
Configuration_Stacker Kopie.h
Go to the documentation of this file.
1 /*
2  This file is part of Repetier-Firmware.
3 
4  Repetier-Firmware is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  Repetier-Firmware is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with Repetier-Firmware. If not, see <http://www.gnu.org/licenses/>.
16 
17 */
18 
19 #ifndef CONFIGURATION_H
20 #define CONFIGURATION_H
21 
22 /**************** READ FIRST ************************
23 
24  This configuration file was created with the configuration tool. For that
25  reason, it does not contain the same informations as the original Configuration.h file.
26  It misses the comments and unused parts. Open this file file in the config tool
27  to see and change the data. You can also upload it to newer/older versions. The system
28  will silently add new options, so compilation continues to work.
29 
30  This file is optimized for version 0.92
31  generator: http://www.repetier.com/firmware/v092/
32 
33  If you are in doubt which named functions use which pins on your board, please check the
34  pins.h for the used name->pin assignments and your board documentation to verify it is
35  as you expect.
36 
37 */
38 
39 #define NUM_EXTRUDER 4
40 #define MOTHERBOARD 35
41 #include "pins.h"
42 
43 // ################## EDIT THESE SETTINGS MANUALLY ################
44 // ################ END MANUAL SETTINGS ##########################
45 
46 #undef FAN_BOARD_PIN
47 #define FAN_BOARD_PIN ORIG_FAN_PIN
48 #define FAN_THERMO_PIN -1
49 #define FAN_THERMO_MIN_PWM 128
50 #define FAN_THERMO_MAX_PWM 255
51 #define FAN_THERMO_MIN_TEMP 45
52 #define FAN_THERMO_MAX_TEMP 60
53 #define FAN_THERMO_THERMISTOR_PIN -1
54 #define FAN_THERMO_THERMISTOR_TYPE 1
55 
56 //#define EXTERNALSERIAL use Arduino serial library instead of build in. Requires more ram, has only 63 byte input buffer.
57 // Uncomment the following line if you are using Arduino compatible firmware made for Arduino version earlier then 1.0
58 // If it is incompatible you will get compiler errors about write functions not being compatible!
59 //#define COMPAT_PRE1
60 #define BLUETOOTH_SERIAL -1
61 #define BLUETOOTH_BAUD 115200
62 #define MIXING_EXTRUDER 0
63 
64 #define DRIVE_SYSTEM 0
65 #define XAXIS_STEPS_PER_MM 72.72
66 #define YAXIS_STEPS_PER_MM 72.72
67 #define ZAXIS_STEPS_PER_MM 520
68 #define EXTRUDER_FAN_COOL_TEMP 50
69 #define PDM_FOR_EXTRUDER 0
70 #define PDM_FOR_COOLER 0
71 #define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
72 #define DECOUPLING_TEST_MIN_TEMP_RISE 1
73 #define KILL_IF_SENSOR_DEFECT 1
74 #define RETRACT_ON_PAUSE 4
75 #define PAUSE_START_COMMANDS ""
76 #define PAUSE_END_COMMANDS ""
77 #define SHARED_EXTRUDER_HEATER 0
78 #define EXT0_X_OFFSET 0
79 #define EXT0_Y_OFFSET 0
80 #define EXT0_Z_OFFSET 0
81 #define EXT0_STEPS_PER_MM 255
82 #define EXT0_TEMPSENSOR_TYPE 5
83 #define EXT0_TEMPSENSOR_PIN TEMP_0_PIN
84 #define EXT0_HEATER_PIN HEATER_0_PIN
85 #define EXT0_STEP_PIN ORIG_E0_STEP_PIN
86 #define EXT0_DIR_PIN ORIG_E0_DIR_PIN
87 #define EXT0_INVERSE 1
88 #define EXT0_ENABLE_PIN ORIG_E0_ENABLE_PIN
89 #define EXT0_ENABLE_ON 1
90 #define EXT0_MAX_FEEDRATE 50
91 #define EXT0_MAX_START_FEEDRATE 20
92 #define EXT0_MAX_ACCELERATION 5000
93 #define EXT0_HEAT_MANAGER 1
94 #define EXT0_WATCHPERIOD 1
95 #define EXT0_PID_INTEGRAL_DRIVE_MAX 255
96 #define EXT0_PID_INTEGRAL_DRIVE_MIN 40
97 #define EXT0_PID_PGAIN_OR_DEAD_TIME 8.94
98 #define EXT0_PID_I 0.51
99 #define EXT0_PID_D 20
100 #define EXT0_PID_MAX 255
101 #define EXT0_ADVANCE_K 0
102 #define EXT0_ADVANCE_L 0
103 #define EXT0_ADVANCE_BACKLASH_STEPS 0
104 #define EXT0_WAIT_RETRACT_TEMP 150
105 #define EXT0_WAIT_RETRACT_UNITS 0
106 #define EXT0_SELECT_COMMANDS ""
107 #define EXT0_DESELECT_COMMANDS ""
108 #define EXT0_EXTRUDER_COOLER_PIN -1
109 #define EXT0_EXTRUDER_COOLER_SPEED 255
110 #define EXT0_DECOUPLE_TEST_PERIOD 30000
111 #define EXT0_JAM_PIN -1
112 #define EXT0_JAM_PULLUP 0
113 #define EXT1_X_OFFSET 0
114 #define EXT1_Y_OFFSET 0
115 #define EXT1_Z_OFFSET 0
116 #define EXT1_STEPS_PER_MM 257
117 #define EXT1_TEMPSENSOR_TYPE 5
118 #define EXT1_TEMPSENSOR_PIN TEMP_2_PIN
119 #define EXT1_HEATER_PIN HEATER_2_PIN
120 #define EXT1_STEP_PIN ORIG_E1_STEP_PIN
121 #define EXT1_DIR_PIN ORIG_E1_DIR_PIN
122 #define EXT1_INVERSE 1
123 #define EXT1_ENABLE_PIN ORIG_E1_ENABLE_PIN
124 #define EXT1_ENABLE_ON 1
125 #define EXT1_MAX_FEEDRATE 100
126 #define EXT1_MAX_START_FEEDRATE 40
127 #define EXT1_MAX_ACCELERATION 5000
128 #define EXT1_HEAT_MANAGER 1
129 #define EXT1_WATCHPERIOD 1
130 #define EXT1_PID_INTEGRAL_DRIVE_MAX 255
131 #define EXT1_PID_INTEGRAL_DRIVE_MIN 40
132 #define EXT1_PID_PGAIN_OR_DEAD_TIME 8.94
133 #define EXT1_PID_I 0.51
134 #define EXT1_PID_D 20
135 #define EXT1_PID_MAX 255
136 #define EXT1_ADVANCE_K 0
137 #define EXT1_ADVANCE_L 0
138 #define EXT1_ADVANCE_BACKLASH_STEPS 0
139 #define EXT1_WAIT_RETRACT_TEMP 150
140 #define EXT1_WAIT_RETRACT_UNITS 0
141 #define EXT1_SELECT_COMMANDS ""
142 #define EXT1_DESELECT_COMMANDS ""
143 #define EXT1_EXTRUDER_COOLER_PIN -1
144 #define EXT1_EXTRUDER_COOLER_SPEED 255
145 #define EXT1_DECOUPLE_TEST_PERIOD 30000
146 #define EXT1_JAM_PIN -1
147 #define EXT1_JAM_PULLUP 0
148 #define EXT2_X_OFFSET 0
149 #define EXT2_Y_OFFSET 0
150 #define EXT2_Z_OFFSET 0
151 #define EXT2_STEPS_PER_MM 257
152 #define EXT2_TEMPSENSOR_TYPE 5
153 #define EXT2_TEMPSENSOR_PIN TEMP_3_PIN
154 #define EXT2_HEATER_PIN HEATER_3_PIN
155 #define EXT2_STEP_PIN ORIG_E2_STEP_PIN
156 #define EXT2_DIR_PIN ORIG_E2_DIR_PIN
157 #define EXT2_INVERSE 1
158 #define EXT2_ENABLE_PIN ORIG_E2_ENABLE_PIN
159 #define EXT2_ENABLE_ON 1
160 #define EXT2_MAX_FEEDRATE 100
161 #define EXT2_MAX_START_FEEDRATE 40
162 #define EXT2_MAX_ACCELERATION 5000
163 #define EXT2_HEAT_MANAGER 1
164 #define EXT2_WATCHPERIOD 1
165 #define EXT2_PID_INTEGRAL_DRIVE_MAX 255
166 #define EXT2_PID_INTEGRAL_DRIVE_MIN 40
167 #define EXT2_PID_PGAIN_OR_DEAD_TIME 8.94
168 #define EXT2_PID_I 0.51
169 #define EXT2_PID_D 20
170 #define EXT2_PID_MAX 255
171 #define EXT2_ADVANCE_K 0
172 #define EXT2_ADVANCE_L 0
173 #define EXT2_ADVANCE_BACKLASH_STEPS 0
174 #define EXT2_WAIT_RETRACT_TEMP 150
175 #define EXT2_WAIT_RETRACT_UNITS 0
176 #define EXT2_SELECT_COMMANDS ""
177 #define EXT2_DESELECT_COMMANDS ""
178 #define EXT2_EXTRUDER_COOLER_PIN -1
179 #define EXT2_EXTRUDER_COOLER_SPEED 255
180 #define EXT2_DECOUPLE_TEST_PERIOD 30000
181 #define EXT2_JAM_PIN -1
182 #define EXT2_JAM_PULLUP 0
183 #define EXT3_X_OFFSET 0
184 #define EXT3_Y_OFFSET 0
185 #define EXT3_Z_OFFSET 0
186 #define EXT3_STEPS_PER_MM 257
187 #define EXT3_TEMPSENSOR_TYPE 5
188 #define EXT3_TEMPSENSOR_PIN TEMP_4_PIN
189 #define EXT3_HEATER_PIN HEATER_4_PIN
190 #define EXT3_STEP_PIN ORIG_E3_STEP_PIN
191 #define EXT3_DIR_PIN ORIG_E3_DIR_PIN
192 #define EXT3_INVERSE 1
193 #define EXT3_ENABLE_PIN ORIG_E3_ENABLE_PIN
194 #define EXT3_ENABLE_ON 1
195 #define EXT3_MAX_FEEDRATE 100
196 #define EXT3_MAX_START_FEEDRATE 40
197 #define EXT3_MAX_ACCELERATION 5000
198 #define EXT3_HEAT_MANAGER 1
199 #define EXT3_WATCHPERIOD 1
200 #define EXT3_PID_INTEGRAL_DRIVE_MAX 255
201 #define EXT3_PID_INTEGRAL_DRIVE_MIN 40
202 #define EXT3_PID_PGAIN_OR_DEAD_TIME 8.94
203 #define EXT3_PID_I 0.51
204 #define EXT3_PID_D 20
205 #define EXT3_PID_MAX 255
206 #define EXT3_ADVANCE_K 0
207 #define EXT3_ADVANCE_L 0
208 #define EXT3_ADVANCE_BACKLASH_STEPS 0
209 #define EXT3_WAIT_RETRACT_TEMP 150
210 #define EXT3_WAIT_RETRACT_UNITS 0
211 #define EXT3_SELECT_COMMANDS ""
212 #define EXT3_DESELECT_COMMANDS ""
213 #define EXT3_EXTRUDER_COOLER_PIN -1
214 #define EXT3_EXTRUDER_COOLER_SPEED 255
215 #define EXT3_DECOUPLE_TEST_PERIOD 30000
216 #define EXT3_JAM_PIN -1
217 #define EXT3_JAM_PULLUP 0
218 
219 #define FEATURE_RETRACTION 1
220 #define AUTORETRACT_ENABLED 0
221 #define RETRACTION_LENGTH 2.5
222 #define RETRACTION_LONG_LENGTH 2.5
223 #define RETRACTION_SPEED 50
224 #define RETRACTION_Z_LIFT 0
225 #define RETRACTION_UNDO_EXTRA_LENGTH 0
226 #define RETRACTION_UNDO_EXTRA_LONG_LENGTH 0
227 #define RETRACTION_UNDO_SPEED 40
228 #define FILAMENTCHANGE_X_POS 0
229 #define FILAMENTCHANGE_Y_POS 0
230 #define FILAMENTCHANGE_Z_ADD 2
231 #define FILAMENTCHANGE_REHOME 1
232 #define FILAMENTCHANGE_SHORTRETRACT 5
233 #define FILAMENTCHANGE_LONGRETRACT 50
234 #define JAM_STEPS 220
235 #define JAM_SLOWDOWN_STEPS 320
236 #define JAM_SLOWDOWN_TO 70
237 #define JAM_ERROR_STEPS 500
238 #define JAM_MIN_STEPS 10
239 #define JAM_ACTION 1
240 
241 #define RETRACT_DURING_HEATUP true
242 #define PID_CONTROL_RANGE 20
243 #define SKIP_M109_IF_WITHIN 2
244 #define SCALE_PID_TO_MAX 0
245 #define TEMP_HYSTERESIS 0
246 #define EXTRUDE_MAXLENGTH 160
247 #define NUM_TEMPS_USERTHERMISTOR0 29
248 #define USER_THERMISTORTABLE0 {{0,8000},{69,2280},{79,2200},{92,2120},{107,2040},{125,1960},{146,1886},{172,1810},{204,1736},{243,1661},{291,1586},{350,1511},{422,1437},{512,1362},{622,1287},{756,1212},{919,1138},{1345,988},{3139,539},{3388,464},{3591,390},{3749,314},{3866,240},{3949,160},{4005,80},{4041,0},{4064,-80},{4086,-240},{4093,-400}}
249 #define NUM_TEMPS_USERTHERMISTOR1 0
250 #define USER_THERMISTORTABLE1 {}
251 #define NUM_TEMPS_USERTHERMISTOR2 0
252 #define USER_THERMISTORTABLE2 {}
253 #define GENERIC_THERM_VREF 5
254 #define GENERIC_THERM_NUM_ENTRIES 33
255 #define HEATER_PWM_SPEED 0
256 
257 // ############# Heated bed configuration ########################
258 
259 #define HAVE_HEATED_BED 1
260 #define HEATED_BED_MAX_TEMP 120
261 #define SKIP_M190_IF_WITHIN 3
262 #define HEATED_BED_SENSOR_TYPE 8
263 #define HEATED_BED_SENSOR_PIN TEMP_1_PIN
264 #define HEATED_BED_HEATER_PIN HEATER_1_PIN
265 #define HEATED_BED_SET_INTERVAL 5000
266 #define HEATED_BED_HEAT_MANAGER 1
267 #define HEATED_BED_PID_INTEGRAL_DRIVE_MAX 255
268 #define HEATED_BED_PID_INTEGRAL_DRIVE_MIN 80
269 #define HEATED_BED_PID_PGAIN_OR_DEAD_TIME 196
270 #define HEATED_BED_PID_IGAIN 33
271 #define HEATED_BED_PID_DGAIN 290
272 #define HEATED_BED_PID_MAX 255
273 #define HEATED_BED_DECOUPLE_TEST_PERIOD 300000
274 #define MIN_EXTRUDER_TEMP 150
275 #define MAXTEMP 280
276 #define MIN_DEFECT_TEMPERATURE -10
277 #define MAX_DEFECT_TEMPERATURE 300
278 
279 // ##########################################################################################
280 // ## Laser configuration ##
281 // ##########################################################################################
282 
283 /*
284 If the firmware is in laser mode, it can control a laser output to cut or engrave materials.
285 Please use this feature only if you know about safety and required protection. Lasers are
286 dangerous and can hurt or make you blind!!!
287 
288 The default laser driver only supports laser on and off. Here you control the eíntensity with
289 your feedrate. For exchangeable diode lasers this is normally enough. If you need more control
290 you can set the intensity in a range 0-255 with a custom extension to the driver. See driver.h
291 and comments on how to extend the functions non invasive with our event system.
292 
293 If you have a laser - powder system you will like your E override. If moves contain a
294 increasing extruder position it will laser that move. With this trick you can
295 use existing fdm slicers to laser the output. Laser width is extrusion width.
296 
297 Other tools may use M3 and M5 to enable/disable laser. Here G1/G2/G3 moves have laser enabled
298 and G0 moves have it disables.
299 
300 In any case, laser only enables while moving. At the end of a move it gets
301 automatically disabled.
302 */
303 
304 #define SUPPORT_LASER 0
305 #define LASER_PIN -1
306 #define LASER_ON_HIGH 1
307 
308 // ## CNC configuration ##
309 
310 /*
311 If the firmware is in CNC mode, it can control a mill with M3/M4/M5. It works
312 similar to laser mode, but mill keeps enabled during G0 moves and it allows
313 setting rpm (only with event extension that supports this) and milling direction.
314 It also can add a delay to wait for spindle to run on full speed.
315 */
316 
317 #define SUPPORT_CNC 0
318 #define CNC_WAIT_ON_ENABLE 300
319 #define CNC_WAIT_ON_DISABLE 0
320 #define CNC_ENABLE_PIN -1
321 #define CNC_ENABLE_WITH 1
322 #define CNC_DIRECTION_PIN -1
323 #define CNC_DIRECTION_CW 1
324 
325 
326 #define DEFAULT_PRINTER_MODE 0
327 
328 // ################ Endstop configuration #####################
329 
330 #define ENDSTOP_PULLUP_X_MIN true
331 #define ENDSTOP_X_MIN_INVERTING true
332 #define MIN_HARDWARE_ENDSTOP_X true
333 #define ENDSTOP_PULLUP_Y_MIN true
334 #define ENDSTOP_Y_MIN_INVERTING true
335 #define MIN_HARDWARE_ENDSTOP_Y true
336 #define ENDSTOP_PULLUP_Z_MIN true
337 #define ENDSTOP_Z_MIN_INVERTING true
338 #define MIN_HARDWARE_ENDSTOP_Z true
339 #define ENDSTOP_PULLUP_X_MAX true
340 #define ENDSTOP_X_MAX_INVERTING true
341 #define MAX_HARDWARE_ENDSTOP_X true
342 #define ENDSTOP_PULLUP_Y_MAX true
343 #define ENDSTOP_Y_MAX_INVERTING true
344 #define MAX_HARDWARE_ENDSTOP_Y true
345 #define ENDSTOP_PULLUP_Z_MAX true
346 #define ENDSTOP_Z_MAX_INVERTING true
347 #define MAX_HARDWARE_ENDSTOP_Z true
348 #define max_software_endstop_r true
349 
350 #define min_software_endstop_x false
351 #define min_software_endstop_y false
352 #define min_software_endstop_z false
353 #define max_software_endstop_x false
354 #define max_software_endstop_y false
355 #define max_software_endstop_z false
356 #define ENDSTOP_X_BACK_MOVE 6
357 #define ENDSTOP_Y_BACK_MOVE 6
358 #define ENDSTOP_Z_BACK_MOVE 6
359 #define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
360 #define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
361 #define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 6
362 #define ENDSTOP_X_BACK_ON_HOME 1
363 #define ENDSTOP_Y_BACK_ON_HOME 1
364 #define ENDSTOP_Z_BACK_ON_HOME 0
365 #define ALWAYS_CHECK_ENDSTOPS 1
366 
367 // ################# XYZ movements ###################
368 
369 #define X_ENABLE_ON 1
370 #define Y_ENABLE_ON 0
371 #define Z_ENABLE_ON 1
372 #define DISABLE_X 0
373 #define DISABLE_Y 0
374 #define DISABLE_Z 0
375 #define DISABLE_E 0
376 #define PREVENT_Z_DISABLE_ON_STEPPER_TIMEOUT
377 #define INVERT_X_DIR 0
378 #define INVERT_Y_DIR 1
379 #define INVERT_Z_DIR 0
380 #define X_HOME_DIR -1
381 #define Y_HOME_DIR -1
382 #define Z_HOME_DIR -1
383 #define X_MAX_LENGTH 418
384 #define Y_MAX_LENGTH 240
385 #define Z_MAX_LENGTH 210
386 #define X_MIN_POS 0
387 #define Y_MIN_POS 0
388 #define Z_MIN_POS 0
389 #define DISTORTION_CORRECTION 0
390 #define DISTORTION_CORRECTION_POINTS 5
391 #define DISTORTION_CORRECTION_R 100
392 #define DISTORTION_PERMANENT 1
393 #define DISTORTION_UPDATE_FREQUENCY 15
394 #define DISTORTION_START_DEGRADE 0.5
395 #define DISTORTION_END_HEIGHT 1
396 #define DISTORTION_EXTRAPOLATE_CORNERS 0
397 #define DISTORTION_XMIN 10
398 #define DISTORTION_YMIN 10
399 #define DISTORTION_XMAX 190
400 #define DISTORTION_YMAX 190
401 
402 // ##########################################################################################
403 // ## Movement settings ##
404 // ##########################################################################################
405 
406 #define FEATURE_BABYSTEPPING 1
407 #define BABYSTEP_MULTIPLICATOR 1
408 
409 #define DELTA_SEGMENTS_PER_SECOND_PRINT 180 // Move accurate setting for print moves
410 #define DELTA_SEGMENTS_PER_SECOND_MOVE 70 // Less accurate setting for other moves
411 #define EXACT_DELTA_MOVES 1
412 
413 // Delta settings
414 #define DELTA_HOME_ON_POWER 0
415 
416 #define DELTASEGMENTS_PER_PRINTLINE 24
417 #define STEPPER_INACTIVE_TIME 360L
418 #define MAX_INACTIVE_TIME 0L
419 #define MAX_FEEDRATE_X 200
420 #define MAX_FEEDRATE_Y 200
421 #define MAX_FEEDRATE_Z 80
422 #define HOMING_FEEDRATE_X 40
423 #define HOMING_FEEDRATE_Y 40
424 #define HOMING_FEEDRATE_Z 40
425 #define HOMING_ORDER HOME_ORDER_XYZ
426 #define ZHOME_MIN_TEMPERATURE 0
427 #define ZHOME_HEAT_ALL 1
428 #define ZHOME_HEAT_HEIGHT 20
429 #define ZHOME_X_POS 999999
430 #define ZHOME_Y_POS 999999
431 #define ENABLE_BACKLASH_COMPENSATION 1
432 #define X_BACKLASH 0
433 #define Y_BACKLASH 0
434 #define Z_BACKLASH 0
435 #define RAMP_ACCELERATION 1
436 #define STEPPER_HIGH_DELAY 0
437 #define DIRECTION_DELAY 0
438 #define STEP_DOUBLER_FREQUENCY 12000
439 #define ALLOW_QUADSTEPPING 1
440 #define DOUBLE_STEP_DELAY 1 // time in microseconds
441 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
442 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
443 #define MAX_ACCELERATION_UNITS_PER_SQ_SECOND_Z 50
444 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_X 1000
445 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Y 1000
446 #define MAX_TRAVEL_ACCELERATION_UNITS_PER_SQ_SECOND_Z 50
447 #define INTERPOLATE_ACCELERATION_WITH_Z 0
448 #define ACCELERATION_FACTOR_TOP 100
449 #define MAX_JERK 25
450 #define MAX_ZJERK 0.3
451 #define PRINTLINE_CACHE_SIZE 24
452 #define MOVE_CACHE_LOW 10
453 #define LOW_TICKS_PER_MOVE 250000
454 #define FEATURE_TWO_XSTEPPER 0
455 #define X2_STEP_PIN ORIG_E1_STEP_PIN
456 #define X2_DIR_PIN ORIG_E1_DIR_PIN
457 #define X2_ENABLE_PIN ORIG_E1_ENABLE_PIN
458 #define FEATURE_TWO_YSTEPPER 0
459 #define Y2_STEP_PIN ORIG_E1_STEP_PIN
460 #define Y2_DIR_PIN ORIG_E1_DIR_PIN
461 #define Y2_ENABLE_PIN ORIG_E1_ENABLE_PIN
462 #define FEATURE_TWO_ZSTEPPER 0
463 #define Z2_STEP_PIN ORIG_E1_STEP_PIN
464 #define Z2_DIR_PIN ORIG_E1_DIR_PIN
465 #define Z2_ENABLE_PIN ORIG_E1_ENABLE_PIN
466 #define FEATURE_THREE_ZSTEPPER 0
467 #define Z3_STEP_PIN ORIG_E2_STEP_PIN
468 #define Z3_DIR_PIN ORIG_E2_DIR_PIN
469 #define Z3_ENABLE_PIN ORIG_E2_ENABLE_PIN
470 #define FEATURE_DITTO_PRINTING 1
471 #define USE_ADVANCE 0
472 #define ENABLE_QUADRATIC_ADVANCE 0
473 
474 
475 // ################# Misc. settings ##################
476 
477 #define BAUDRATE 250000
478 #define ENABLE_POWER_ON_STARTUP 1
479 #define POWER_INVERTING 0
480 #define KILL_METHOD 1
481 #define ACK_WITH_LINENUMBER 1
482 #define WAITING_IDENTIFIER "wait"
483 #define ECHO_ON_EXECUTE 1
484 #define EEPROM_MODE 1
485 #undef PS_ON_PIN
486 #define PS_ON_PIN -1
487 #define JSON_OUTPUT 1
488 
489 /* ======== Servos =======
490 Control the servos with
491 M340 P<servoId> S<pulseInUS> / ServoID = 0..3 pulseInUs = 500..2500
492 Servos are controlled by a pulse width normally between 500 and 2500 with 1500ms in center position. 0 turns servo off.
493 WARNING: Servos can draw a considerable amount of current. Make sure your system can handle this or you may risk your hardware!
494 */
495 #define FEATURE_SERVO 0
496 #define SERVO0_PIN 11
497 #define SERVO1_PIN -1
498 #define SERVO2_PIN -1
499 #define SERVO3_PIN -1
500 #define SERVO0_NEUTRAL_POS -1
501 #define SERVO1_NEUTRAL_POS -1
502 #define SERVO2_NEUTRAL_POS -1
503 #define SERVO3_NEUTRAL_POS -1
504 #define UI_SERVO_CONTROL 0
505 #define FAN_KICKSTART_TIME 200
506 
507  #define FEATURE_WATCHDOG 1
508 
509 // #################### Z-Probing #####################
510 
511 #define Z_PROBE_Z_OFFSET 0
512 #define Z_PROBE_Z_OFFSET_MODE 0
513 #define UI_BED_COATING 0
514 #define FEATURE_Z_PROBE 0
515 #define Z_PROBE_BED_DISTANCE 10
516 #define Z_PROBE_PIN -1
517 #define Z_PROBE_PULLUP 0
518 #define Z_PROBE_ON_HIGH 0
519 #define Z_PROBE_X_OFFSET 0
520 #define Z_PROBE_Y_OFFSET 0
521 #define Z_PROBE_WAIT_BEFORE_TEST 0
522 #define Z_PROBE_SPEED 2
523 #define Z_PROBE_XY_SPEED 150
524 #define Z_PROBE_SWITCHING_DISTANCE 1
525 #define Z_PROBE_REPETITIONS 1
526 #define Z_PROBE_HEIGHT 40
527 #define Z_PROBE_START_SCRIPT ""
528 #define Z_PROBE_FINISHED_SCRIPT ""
529 #define Z_PROBE_REQUIRES_HEATING 0
530 #define Z_PROBE_MIN_TEMPERATURE 150
531 #define FEATURE_AUTOLEVEL 1
532 #define Z_PROBE_X1 20
533 #define Z_PROBE_Y1 20
534 #define Z_PROBE_X2 160
535 #define Z_PROBE_Y2 20
536 #define Z_PROBE_X3 100
537 #define Z_PROBE_Y3 160
538 #define BED_LEVELING_METHOD 0
539 #define BED_CORRECTION_METHOD 0
540 #define BED_LEVELING_GRID_SIZE 5
541 #define BED_LEVELING_REPETITIONS 5
542 #define BED_MOTOR_1_X 0
543 #define BED_MOTOR_1_Y 0
544 #define BED_MOTOR_2_X 200
545 #define BED_MOTOR_2_Y 0
546 #define BED_MOTOR_3_X 100
547 #define BED_MOTOR_3_Y 200
548 #define BENDING_CORRECTION_A 0
549 #define BENDING_CORRECTION_B 0
550 #define BENDING_CORRECTION_C 0
551 #define FEATURE_AXISCOMP 0
552 #define AXISCOMP_TANXY 0
553 #define AXISCOMP_TANYZ 0
554 #define AXISCOMP_TANXZ 0
555 
556 #ifndef SDSUPPORT // Some boards have sd support on board. These define the values already in pins.h
557 #define SDSUPPORT 1
558 #undef SDCARDDETECT
559 #define SDCARDDETECT ORIG_SDCARDDETECT
560 #define SDCARDDETECTINVERTED 0
561 #endif
562 #define SD_EXTENDED_DIR 1
563 #define SD_RUN_ON_STOP ""
564 #define SD_STOP_HEATER_AND_MOTORS_ON_STOP 1
565 #define ARC_SUPPORT 1
566 #define FEATURE_MEMORY_POSITION 1
567 #define FEATURE_CHECKSUM_FORCED 0
568 #define FEATURE_FAN_CONTROL 1
569 #define FEATURE_FAN2_CONTROL 0
570 #define FEATURE_CONTROLLER 21
571 #define ADC_KEYPAD_PIN -1
572 #define LANGUAGE_EN_ACTIVE 1
573 #define LANGUAGE_DE_ACTIVE 1
574 #define LANGUAGE_NL_ACTIVE 0
575 #define LANGUAGE_PT_ACTIVE 1
576 #define LANGUAGE_IT_ACTIVE 1
577 #define LANGUAGE_ES_ACTIVE 1
578 #define LANGUAGE_FI_ACTIVE 0
579 #define LANGUAGE_SE_ACTIVE 0
580 #define LANGUAGE_FR_ACTIVE 1
581 #define LANGUAGE_CZ_ACTIVE 0
582 #define LANGUAGE_PL_ACTIVE 1
583 #define LANGUAGE_TR_ACTIVE 1
584 #define UI_PRINTER_NAME "Stacker 500"
585 #define UI_PRINTER_COMPANY "Stacker LLC"
586 #define UI_PAGES_DURATION 4000
587 #define UI_ANIMATION 0
588 #define UI_SPEEDDEPENDENT_POSITIONING 0
589 #define UI_DISABLE_AUTO_PAGESWITCH 1
590 #define UI_AUTORETURN_TO_MENU_AFTER 30000
591 #define FEATURE_UI_KEYS 0
592 #define UI_ENCODER_SPEED 1
593 #define UI_REVERSE_ENCODER 0
594 #define UI_KEY_BOUNCETIME 10
595 #define UI_KEY_FIRST_REPEAT 500
596 #define UI_KEY_REDUCE_REPEAT 50
597 #define UI_KEY_MIN_REPEAT 50
598 #define FEATURE_BEEPER 1
599 #define CASE_LIGHTS_PIN -1
600 #define CASE_LIGHT_DEFAULT_ON 1
601 #define UI_START_SCREEN_DELAY 1000
602 #define UI_DYNAMIC_ENCODER_SPEED 1
603 
609 #define BEEPER_SHORT_SEQUENCE 2,2
610 #define BEEPER_LONG_SEQUENCE 8,8
611 #define UI_SET_PRESET_HEATED_BED_TEMP_PLA 60
612 #define UI_SET_PRESET_EXTRUDER_TEMP_PLA 190
613 #define UI_SET_PRESET_HEATED_BED_TEMP_ABS 110
614 #define UI_SET_PRESET_EXTRUDER_TEMP_ABS 240
615 #define UI_SET_MIN_HEATED_BED_TEMP 30
616 #define UI_SET_MAX_HEATED_BED_TEMP 120
617 #define UI_SET_MIN_EXTRUDER_TEMP 170
618 #define UI_SET_MAX_EXTRUDER_TEMP 280
619 #define UI_SET_EXTRUDER_FEEDRATE 2
620 #define UI_SET_EXTRUDER_RETRACT_DISTANCE 3
621 
622 
623 #define NUM_MOTOR_DRIVERS 0
624 
625 #define MACHINE_TYPE "STACKER"
626 #define ALTERNATIVE_JERK
627 #define REDUCE_ON_SMALL_SEGMENTS
628 #define MAX_JERK_DISTANCE 0.8
629 #define ZHOME_WAIT_UNSWING 500
630 #define BIG_OUTPUT_BUFFER // allows complete temperature line as output
631 #define CUSTOM_LOGO
632 #define LOGO_WIDTH 128
633 #define LOGO_HEIGHT 13
634 #define LOGO_BITMAP const unsigned char logo[] PROGMEM = {\
635 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\
636 0x0F, 0xFF, 0xF3, 0xFF, 0xF9, 0xFF, 0xFE, 0x7F, 0xFF, 0x9E, 0x0F, 0x87, 0xFF, 0xF7, 0xFF, 0xFC,\
637 0x1F, 0xFF, 0xF3, 0xFF, 0xF3, 0xFF, 0xFC, 0xFF, 0xFF, 0x3C, 0x1F, 0x07, 0xFF, 0xE7, 0xFF, 0xF8,\
638 0x1F, 0xFF, 0xE7, 0xFF, 0xF3, 0xFF, 0xFC, 0xFF, 0xFF, 0x3C, 0x3E, 0x0F, 0xFF, 0xEF, 0xFF, 0xF8,\
639 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00,\
640 0x38, 0x00, 0x00, 0x3C, 0x07, 0x80, 0x79, 0xE0, 0x00, 0x78, 0x00, 0x0E, 0x00, 0x0F, 0x00, 0xF8,\
641 0x3F, 0xFF, 0x80, 0x3C, 0x07, 0x3F, 0xF9, 0xE0, 0x00, 0x7B, 0xF8, 0x1F, 0xFF, 0x8F, 0x01, 0xF0,\
642 0x3F, 0xFF, 0xC0, 0x78, 0x0F, 0x7F, 0xF9, 0xC0, 0x00, 0x73, 0xF8, 0x1F, 0xFF, 0x8E, 0x7F, 0xE0,\
643 0x00, 0x03, 0xC0, 0x78, 0x0E, 0x00, 0x73, 0xC0, 0x00, 0xF0, 0x7C, 0x1E, 0x00, 0x1E, 0xFF, 0xC0,\
644 0x00, 0x03, 0xC0, 0x70, 0x0E, 0x00, 0xF3, 0xC0, 0x00, 0xF0, 0x3E, 0x3C, 0x00, 0x1E, 0xFF, 0xC0,\
645 0x7F, 0xFF, 0x80, 0xF0, 0x1E, 0x00, 0xF3, 0xFF, 0xFC, 0xF0, 0x1E, 0x3F, 0xFF, 0x9C, 0x07, 0xC0,\
646 0xFF, 0xFF, 0x00, 0xF0, 0x1E, 0x01, 0xE7, 0xFF, 0xFD, 0xE0, 0x1F, 0x3F, 0xFF, 0xBC, 0x03, 0xE0,\
647 0xFF, 0xFE, 0x01, 0xE0, 0x3E, 0x01, 0xE7, 0xFF, 0xF9, 0xE0, 0x0F, 0xBF, 0xFF, 0x3C, 0x01, 0xF0\
648 };
649 
650 #if 0
651 Informations:
652 
653 Extruder temperatures use a user defined table for ATC 104GT sensor. Here a adjustment to
654 real temperatures in nozzle is included. So in deviation to original temperature table these
655 temperatures are used:
656 -50 - 30: Original T
657 30-260: T-(T-30)*15/230
658 260-300: T-15
659 
660 New table stops now at 285°C so max. settable temperature is 280°C
661 #endif
662 
663 #endif
664 
665 /* Below you will find the configuration string, that created this Configuration.h
666 
667 ========== Start configuration string ==========
668 {
669  "editMode": 2,
670  "processor": 0,
671  "baudrate": 250000,
672  "bluetoothSerial": -1,
673  "bluetoothBaudrate": 115200,
674  "xStepsPerMM": 72.72,
675  "yStepsPerMM": 72.72,
676  "zStepsPerMM": 520,
677  "xInvert": "0",
678  "xInvertEnable": "1",
679  "eepromMode": 1,
680  "yInvert": "1",
681  "yInvertEnable": 0,
682  "zInvert": "0",
683  "zInvertEnable": "1",
684  "extruder": [
685  {
686  "id": 0,
687  "heatManager": 1,
688  "pidDriveMin": 40,
689  "pidDriveMax": 255,
690  "pidMax": 255,
691  "sensorType": 5,
692  "sensorPin": "TEMP_0_PIN",
693  "heaterPin": "HEATER_0_PIN",
694  "maxFeedrate": 50,
695  "startFeedrate": 20,
696  "invert": "1",
697  "invertEnable": "1",
698  "acceleration": 5000,
699  "watchPeriod": 1,
700  "pidP": 8.94,
701  "pidI": 0.51,
702  "pidD": 20,
703  "advanceK": 0,
704  "advanceL": 0,
705  "waitRetractTemp": 150,
706  "waitRetractUnits": 0,
707  "waitRetract": 0,
708  "stepsPerMM": 255,
709  "coolerPin": -1,
710  "coolerSpeed": 255,
711  "selectCommands": "",
712  "deselectCommands": "",
713  "xOffset": 0,
714  "yOffset": 0,
715  "zOffset": 0,
716  "xOffsetSteps": 0,
717  "yOffsetSteps": 0,
718  "zOffsetSteps": 0,
719  "stepper": {
720  "name": "Extruder 0",
721  "step": "ORIG_E0_STEP_PIN",
722  "dir": "ORIG_E0_DIR_PIN",
723  "enable": "ORIG_E0_ENABLE_PIN"
724  },
725  "advanceBacklashSteps": 0,
726  "decoupleTestPeriod": 30,
727  "jamPin": -1,
728  "jamPullup": "0"
729  },
730  {
731  "id": 1,
732  "heatManager": 1,
733  "pidDriveMin": 40,
734  "pidDriveMax": 255,
735  "pidMax": 255,
736  "sensorType": 5,
737  "sensorPin": "TEMP_2_PIN",
738  "heaterPin": "HEATER_2_PIN",
739  "maxFeedrate": 100,
740  "startFeedrate": 40,
741  "invert": "1",
742  "invertEnable": "1",
743  "acceleration": 5000,
744  "watchPeriod": 1,
745  "pidP": 8.94,
746  "pidI": 0.51,
747  "pidD": 20,
748  "advanceK": 0,
749  "advanceL": 0,
750  "waitRetractTemp": 150,
751  "waitRetractUnits": 0,
752  "waitRetract": 0,
753  "stepsPerMM": 257,
754  "coolerPin": -1,
755  "coolerSpeed": 255,
756  "selectCommands": "",
757  "deselectCommands": "",
758  "xOffset": 0,
759  "yOffset": 0,
760  "zOffset": 0,
761  "xOffsetSteps": 0,
762  "yOffsetSteps": 0,
763  "zOffsetSteps": 0,
764  "stepper": {
765  "name": "Extruder 1",
766  "step": "ORIG_E1_STEP_PIN",
767  "dir": "ORIG_E1_DIR_PIN",
768  "enable": "ORIG_E1_ENABLE_PIN"
769  },
770  "advanceBacklashSteps": 0,
771  "decoupleTestPeriod": 30,
772  "jamPin": -1,
773  "jamPullup": "0"
774  },
775  {
776  "id": 2,
777  "heatManager": 1,
778  "pidDriveMin": 40,
779  "pidDriveMax": 255,
780  "pidMax": 255,
781  "sensorType": 5,
782  "sensorPin": "TEMP_3_PIN",
783  "heaterPin": "HEATER_3_PIN",
784  "maxFeedrate": 100,
785  "startFeedrate": 40,
786  "invert": "1",
787  "invertEnable": "1",
788  "acceleration": 5000,
789  "watchPeriod": 1,
790  "pidP": 8.94,
791  "pidI": 0.51,
792  "pidD": 20,
793  "advanceK": 0,
794  "advanceL": 0,
795  "waitRetractTemp": 150,
796  "waitRetractUnits": 0,
797  "waitRetract": 0,
798  "stepsPerMM": 257,
799  "coolerPin": -1,
800  "coolerSpeed": 255,
801  "selectCommands": "",
802  "deselectCommands": "",
803  "xOffset": 0,
804  "yOffset": 0,
805  "zOffset": 0,
806  "xOffsetSteps": 0,
807  "yOffsetSteps": 0,
808  "zOffsetSteps": 0,
809  "stepper": {
810  "name": "Extruder 2",
811  "step": "ORIG_E2_STEP_PIN",
812  "dir": "ORIG_E2_DIR_PIN",
813  "enable": "ORIG_E2_ENABLE_PIN"
814  },
815  "advanceBacklashSteps": 0,
816  "decoupleTestPeriod": 30,
817  "jamPin": -1,
818  "jamPullup": "0"
819  },
820  {
821  "id": 3,
822  "heatManager": 1,
823  "pidDriveMin": 40,
824  "pidDriveMax": 255,
825  "pidMax": 255,
826  "sensorType": 5,
827  "sensorPin": "TEMP_4_PIN",
828  "heaterPin": "HEATER_4_PIN",
829  "maxFeedrate": 100,
830  "startFeedrate": 40,
831  "invert": "1",
832  "invertEnable": "1",
833  "acceleration": 5000,
834  "watchPeriod": 1,
835  "pidP": 8.94,
836  "pidI": 0.51,
837  "pidD": 20,
838  "advanceK": 0,
839  "advanceL": 0,
840  "waitRetractTemp": 150,
841  "waitRetractUnits": 0,
842  "waitRetract": 0,
843  "stepsPerMM": 257,
844  "coolerPin": -1,
845  "coolerSpeed": 255,
846  "selectCommands": "",
847  "deselectCommands": "",
848  "xOffset": 0,
849  "yOffset": 0,
850  "zOffset": 0,
851  "xOffsetSteps": 0,
852  "yOffsetSteps": 0,
853  "zOffsetSteps": 0,
854  "stepper": {
855  "name": "Extruder 3",
856  "step": "ORIG_E3_STEP_PIN",
857  "dir": "ORIG_E3_DIR_PIN",
858  "enable": "ORIG_E3_ENABLE_PIN"
859  },
860  "advanceBacklashSteps": 0,
861  "decoupleTestPeriod": 30,
862  "jamPin": -1,
863  "jamPullup": "0"
864  }
865  ],
866  "uiLanguage": 0,
867  "uiController": 0,
868  "xMinEndstop": 1,
869  "yMinEndstop": 1,
870  "zMinEndstop": 1,
871  "xMaxEndstop": 1,
872  "yMaxEndstop": 1,
873  "zMaxEndstop": 1,
874  "motherboard": 35,
875  "driveSystem": 0,
876  "xMaxSpeed": 200,
877  "xHomingSpeed": 40,
878  "xTravelAcceleration": 1000,
879  "xPrintAcceleration": 1000,
880  "yMaxSpeed": 200,
881  "yHomingSpeed": 40,
882  "yTravelAcceleration": 1000,
883  "yPrintAcceleration": 1000,
884  "zMaxSpeed": 80,
885  "zHomingSpeed": 40,
886  "zTravelAcceleration": 50,
887  "zPrintAcceleration": 50,
888  "xMotor": {
889  "name": "X motor",
890  "step": "ORIG_X_STEP_PIN",
891  "dir": "ORIG_X_DIR_PIN",
892  "enable": "ORIG_X_ENABLE_PIN"
893  },
894  "yMotor": {
895  "name": "Y motor",
896  "step": "ORIG_Y_STEP_PIN",
897  "dir": "ORIG_Y_DIR_PIN",
898  "enable": "ORIG_Y_ENABLE_PIN"
899  },
900  "zMotor": {
901  "name": "Z motor",
902  "step": "ORIG_Z_STEP_PIN",
903  "dir": "ORIG_Z_DIR_PIN",
904  "enable": "ORIG_Z_ENABLE_PIN"
905  },
906  "enableBacklash": "1",
907  "backlashX": 0,
908  "backlashY": 0,
909  "backlashZ": 0,
910  "stepperInactiveTime": 360,
911  "maxInactiveTime": 0,
912  "xMinPos": 0,
913  "yMinPos": 0,
914  "zMinPos": 0,
915  "xLength": 418,
916  "yLength": 240,
917  "zLength": 210,
918  "alwaysCheckEndstops": "1",
919  "disableX": "0",
920  "disableY": "0",
921  "disableZ": "0",
922  "disableE": "0",
923  "xHomeDir": "-1",
924  "yHomeDir": "-1",
925  "zHomeDir": "-1",
926  "xEndstopBack": 1,
927  "yEndstopBack": 1,
928  "zEndstopBack": 0,
929  "deltaSegmentsPerSecondPrint": 180,
930  "deltaSegmentsPerSecondTravel": 70,
931  "deltaDiagonalRod": 445,
932  "deltaHorizontalRadius": 209.25,
933  "deltaAlphaA": 210,
934  "deltaAlphaB": 330,
935  "deltaAlphaC": 90,
936  "deltaDiagonalCorrA": 0,
937  "deltaDiagonalCorrB": 0,
938  "deltaDiagonalCorrC": 0,
939  "deltaMaxRadius": 150,
940  "deltaFloorSafetyMarginMM": 15,
941  "deltaRadiusCorrA": 0,
942  "deltaRadiusCorrB": 0,
943  "deltaRadiusCorrC": 0,
944  "deltaXOffsetSteps": 0,
945  "deltaYOffsetSteps": 0,
946  "deltaZOffsetSteps": 0,
947  "deltaSegmentsPerLine": 24,
948  "stepperHighDelay": 0,
949  "directionDelay": 0,
950  "stepDoublerFrequency": 12000,
951  "allowQuadstepping": "1",
952  "doubleStepDelay": 1,
953  "maxJerk": 25,
954  "maxZJerk": 0.3,
955  "moveCacheSize": 24,
956  "moveCacheLow": 10,
957  "lowTicksPerMove": 250000,
958  "enablePowerOnStartup": "1",
959  "echoOnExecute": "1",
960  "sendWaits": "1",
961  "ackWithLineNumber": "1",
962  "killMethod": 1,
963  "useAdvance": "0",
964  "useQuadraticAdvance": "0",
965  "powerInverting": 0,
966  "mirrorX": 0,
967  "mirrorXMotor": {
968  "name": "Extruder 1",
969  "step": "ORIG_E1_STEP_PIN",
970  "dir": "ORIG_E1_DIR_PIN",
971  "enable": "ORIG_E1_ENABLE_PIN"
972  },
973  "mirrorY": 0,
974  "mirrorYMotor": {
975  "name": "Extruder 1",
976  "step": "ORIG_E1_STEP_PIN",
977  "dir": "ORIG_E1_DIR_PIN",
978  "enable": "ORIG_E1_ENABLE_PIN"
979  },
980  "mirrorZ": 0,
981  "mirrorZMotor": {
982  "name": "Extruder 1",
983  "step": "ORIG_E1_STEP_PIN",
984  "dir": "ORIG_E1_DIR_PIN",
985  "enable": "ORIG_E1_ENABLE_PIN"
986  },
987  "mirrorZ3": "0",
988  "mirrorZ3Motor": {
989  "name": "Extruder 2",
990  "step": "ORIG_E2_STEP_PIN",
991  "dir": "ORIG_E2_DIR_PIN",
992  "enable": "ORIG_E2_ENABLE_PIN"
993  },
994  "dittoPrinting": "1",
995  "featureServos": "0",
996  "servo0Pin": 11,
997  "servo1Pin": -1,
998  "servo2Pin": -1,
999  "servo3Pin": -1,
1000  "featureWatchdog": "1",
1001  "hasHeatedBed": "1",
1002  "enableZProbing": "0",
1003  "extrudeMaxLength": 160,
1004  "homeOrder": "HOME_ORDER_XYZ",
1005  "featureController": 21,
1006  "uiPrinterName": "Stacker 500",
1007  "uiPrinterCompany": "Stacker LLC",
1008  "uiPagesDuration": 4000,
1009  "uiAnimation": "0",
1010  "uiDisablePageswitch": "1",
1011  "uiAutoReturnAfter": 30000,
1012  "featureKeys": "0",
1013  "uiEncoderSpeed": 1,
1014  "uiReverseEncoder": "0",
1015  "uiKeyBouncetime": 10,
1016  "uiKeyFirstRepeat": 500,
1017  "uiKeyReduceRepeat": 50,
1018  "uiKeyMinRepeat": 50,
1019  "featureBeeper": "1",
1020  "uiPresetBedTempPLA": 60,
1021  "uiPresetBedABS": 110,
1022  "uiPresetExtruderPLA": 190,
1023  "uiPresetExtruderABS": 240,
1024  "uiMinHeatedBed": 30,
1025  "uiMaxHeatedBed": 120,
1026  "uiMinEtxruderTemp": 170,
1027  "uiMaxExtruderTemp": 280,
1028  "uiExtruderFeedrate": 2,
1029  "uiExtruderRetractDistance": 3,
1030  "uiSpeeddependentPositioning": "0",
1031  "maxBedTemperature": 120,
1032  "bedSensorType": 8,
1033  "bedSensorPin": "TEMP_1_PIN",
1034  "bedHeaterPin": "HEATER_1_PIN",
1035  "bedHeatManager": 1,
1036  "bedUpdateInterval": 5000,
1037  "bedPidDriveMin": 80,
1038  "bedPidDriveMax": 255,
1039  "bedPidP": 196,
1040  "bedPidI": 33,
1041  "bedPidD": 290,
1042  "bedPidMax": 255,
1043  "bedDecoupleTestPeriod": 300,
1044  "caseLightPin": -1,
1045  "caseLightDefaultOn": "1",
1046  "bedSkipIfWithin": 3,
1047  "gen1T0": 25,
1048  "gen1R0": 100000,
1049  "gen1Beta": 4036,
1050  "gen1MinTemp": -20,
1051  "gen1MaxTemp": 300,
1052  "gen1R1": 0,
1053  "gen1R2": 4700,
1054  "gen2T0": 25,
1055  "gen2R0": 100000,
1056  "gen2Beta": 4036,
1057  "gen2MinTemp": -20,
1058  "gen2MaxTemp": 300,
1059  "gen2R1": 0,
1060  "gen2R2": 4700,
1061  "gen3T0": 25,
1062  "gen3R0": 100000,
1063  "gen3Beta": 4036,
1064  "gen3MinTemp": -20,
1065  "gen3MaxTemp": 300,
1066  "gen3R1": 0,
1067  "gen3R2": 4700,
1068  "userTable0": {
1069  "r1": 0,
1070  "r2": 4700,
1071  "temps": [
1072  {
1073  "t": 1000,
1074  "r": 0,
1075  "adc": 0
1076  },
1077  {
1078  "t": 285,
1079  "r": 80.65,
1080  "adc": 69.0830221832
1081  },
1082  {
1083  "t": 275,
1084  "r": 93,
1085  "adc": 79.4564990611
1086  },
1087  {
1088  "t": 265,
1089  "r": 107.9,
1090  "adc": 91.9009338797
1091  },
1092  {
1093  "t": 255,
1094  "r": 125.8,
1095  "adc": 106.749347258
1096  },
1097  {
1098  "t": 245,
1099  "r": 147.5,
1100  "adc": 124.602888087
1101  },
1102  {
1103  "t": 235.7,
1104  "r": 174,
1105  "adc": 146.18998769
1106  },
1107  {
1108  "t": 226.3,
1109  "r": 206.5,
1110  "adc": 172.346377255
1111  },
1112  {
1113  "t": 217,
1114  "r": 246.8,
1115  "adc": 204.302983747
1116  },
1117  {
1118  "t": 207.6,
1119  "r": 296.9,
1120  "adc": 243.311953411
1121  },
1122  {
1123  "t": 198.3,
1124  "r": 359.7,
1125  "adc": 291.118346938
1126  },
1127  {
1128  "t": 188.9,
1129  "r": 439.3,
1130  "adc": 350.034732357
1131  },
1132  {
1133  "t": 179.6,
1134  "r": 540.6,
1135  "adc": 422.424340724
1136  },
1137  {
1138  "t": 170.2,
1139  "r": 671.4,
1140  "adc": 511.855940723
1141  },
1142  {
1143  "t": 160.9,
1144  "r": 841.4,
1145  "adc": 621.780236041
1146  },
1147  {
1148  "t": 151.5,
1149  "r": 1064,
1150  "adc": 755.912560722
1151  },
1152  {
1153  "t": 142.2,
1154  "r": 1360,
1155  "adc": 919.00990099
1156  },
1157  {
1158  "t": 123.5,
1159  "r": 2298,
1160  "adc": 1344.71420406
1161  },
1162  {
1163  "t": 67.4,
1164  "r": 15440,
1165  "adc": 3139.36444886
1166  },
1167  {
1168  "t": 58,
1169  "r": 22510,
1170  "adc": 3387.66813671
1171  },
1172  {
1173  "t": 48.7,
1174  "r": 33490,
1175  "adc": 3591.03299293
1176  },
1177  {
1178  "t": 39.3,
1179  "r": 50960,
1180  "adc": 3749.21307941
1181  },
1182  {
1183  "t": 30,
1184  "r": 79360,
1185  "adc": 3866.0385439
1186  },
1187  {
1188  "t": 20,
1189  "r": 126800,
1190  "adc": 3948.63878327
1191  },
1192  {
1193  "t": 10,
1194  "r": 208600,
1195  "adc": 4004.76793249
1196  },
1197  {
1198  "t": 0,
1199  "r": 353700,
1200  "adc": 4041.29882812
1201  },
1202  {
1203  "t": -10,
1204  "r": 620000,
1205  "adc": 4064.19081159
1206  },
1207  {
1208  "t": -30,
1209  "r": 2132000,
1210  "adc": 4085.99241822
1211  },
1212  {
1213  "t": -50,
1214  "r": 8743000,
1215  "adc": 4092.79982167
1216  }
1217  ],
1218  "numEntries": 29
1219  },
1220  "userTable1": {
1221  "r1": 0,
1222  "r2": 4700,
1223  "temps": [],
1224  "numEntries": 0
1225  },
1226  "userTable2": {
1227  "r1": 0,
1228  "r2": 4700,
1229  "temps": [],
1230  "numEntries": 0
1231  },
1232  "tempHysteresis": 0,
1233  "pidControlRange": 20,
1234  "skipM109Within": 2,
1235  "extruderFanCoolTemp": 50,
1236  "minTemp": 150,
1237  "maxTemp": 280,
1238  "minDefectTemp": -10,
1239  "maxDefectTemp": 300,
1240  "arcSupport": "1",
1241  "featureMemoryPositionWatchdog": "1",
1242  "forceChecksum": "0",
1243  "sdExtendedDir": "1",
1244  "featureFanControl": "1",
1245  "fanPin": "ORIG_FAN_PIN",
1246  "featureFan2Control": "0",
1247  "fan2Pin": "ORIG_FAN2_PIN",
1248  "fanThermoPin": -1,
1249  "fanThermoMinPWM": 128,
1250  "fanThermoMaxPWM": 255,
1251  "fanThermoMinTemp": 45,
1252  "fanThermoMaxTemp": 60,
1253  "fanThermoThermistorPin": -1,
1254  "fanThermoThermistorType": 1,
1255  "scalePidToMax": 0,
1256  "zProbePin": -1,
1257  "zProbeBedDistance": 10,
1258  "zProbePullup": "0",
1259  "zProbeOnHigh": "0",
1260  "zProbeXOffset": 0,
1261  "zProbeYOffset": 0,
1262  "zProbeWaitBeforeTest": "0",
1263  "zProbeSpeed": 2,
1264  "zProbeXYSpeed": 150,
1265  "zProbeHeight": 40,
1266  "zProbeStartScript": "",
1267  "zProbeFinishedScript": "",
1268  "featureAutolevel": "1",
1269  "zProbeX1": 20,
1270  "zProbeY1": 20,
1271  "zProbeX2": 160,
1272  "zProbeY2": 20,
1273  "zProbeX3": 100,
1274  "zProbeY3": 160,
1275  "zProbeSwitchingDistance": 1,
1276  "zProbeRepetitions": 1,
1277  "sdSupport": "1",
1278  "sdCardDetectPin": "ORIG_SDCARDDETECT",
1279  "sdCardDetectInverted": "0",
1280  "uiStartScreenDelay": 1000,
1281  "xEndstopBackMove": 6,
1282  "yEndstopBackMove": 6,
1283  "zEndstopBackMove": 6,
1284  "xEndstopRetestFactor": 3,
1285  "yEndstopRetestFactor": 3,
1286  "zEndstopRetestFactor": 6,
1287  "xMinPin": "ORIG_X_MIN_PIN",
1288  "yMinPin": "ORIG_Y_MIN_PIN",
1289  "zMinPin": "ORIG_Z_MIN_PIN",
1290  "xMaxPin": "ORIG_X_MAX_PIN",
1291  "yMaxPin": "ORIG_Y_MAX_PIN",
1292  "zMaxPin": "ORIG_Z_MAX_PIN",
1293  "deltaHomeOnPower": "0",
1294  "fanBoardPin": "ORIG_FAN_PIN",
1295  "heaterPWMSpeed": 0,
1296  "featureBabystepping": "1",
1297  "babystepMultiplicator": 1,
1298  "pdmForHeater": "0",
1299  "pdmForCooler": "0",
1300  "psOn": -1,
1301  "mixingExtruder": "0",
1302  "decouplingTestMaxHoldVariance": 20,
1303  "decouplingTestMinTempRise": 1,
1304  "featureAxisComp": "0",
1305  "axisCompTanXY": 0,
1306  "axisCompTanXZ": 0,
1307  "axisCompTanYZ": 0,
1308  "retractOnPause": 4,
1309  "pauseStartCommands": "",
1310  "pauseEndCommands": "",
1311  "distortionCorrection": "0",
1312  "distortionCorrectionPoints": 5,
1313  "distortionCorrectionR": 100,
1314  "distortionPermanent": "1",
1315  "distortionUpdateFrequency": 15,
1316  "distortionStartDegrade": 0.5,
1317  "distortionEndDegrade": 1,
1318  "distortionExtrapolateCorners": "0",
1319  "distortionXMin": 10,
1320  "distortionXMax": 190,
1321  "distortionYMin": 10,
1322  "distortionYMax": 190,
1323  "sdRunOnStop": "",
1324  "sdStopHeaterMotorsOnStop": "1",
1325  "featureRetraction": "1",
1326  "autoretractEnabled": "0",
1327  "retractionLength": 2.5,
1328  "retractionLongLength": 2.5,
1329  "retractionSpeed": 50,
1330  "retractionZLift": 0,
1331  "retractionUndoExtraLength": 0,
1332  "retractionUndoExtraLongLength": 0,
1333  "retractionUndoSpeed": 40,
1334  "filamentChangeXPos": 0,
1335  "filamentChangeYPos": 0,
1336  "filamentChangeZAdd": 2,
1337  "filamentChangeRehome": 1,
1338  "filamentChangeShortRetract": 5,
1339  "filamentChangeLongRetract": 50,
1340  "fanKickstart": 200,
1341  "servo0StartPos": -1,
1342  "servo1StartPos": -1,
1343  "servo2StartPos": -1,
1344  "servo3StartPos": -1,
1345  "uiDynamicEncoderSpeed": "1",
1346  "uiServoControl": 0,
1347  "killIfSensorDefect": "1",
1348  "jamSteps": 220,
1349  "jamSlowdownSteps": 320,
1350  "jamSlowdownTo": 70,
1351  "jamErrorSteps": 500,
1352  "jamMinSteps": 10,
1353  "jamAction": 1,
1354  "primaryPort": 0,
1355  "numMotorDrivers": 0,
1356  "motorDrivers": [
1357  {
1358  "t": "None",
1359  "s": "",
1360  "invertEnable": "0",
1361  "invertDirection": "0",
1362  "stepsPerMM": 100,
1363  "speed": 10,
1364  "dirPin": -1,
1365  "stepPin": -1,
1366  "enablePin": -1
1367  },
1368  {
1369  "t": "None",
1370  "s": "",
1371  "invertEnable": "0",
1372  "invertDirection": "0",
1373  "stepsPerMM": 100,
1374  "speed": 10,
1375  "dirPin": -1,
1376  "stepPin": -1,
1377  "enablePin": -1
1378  },
1379  {
1380  "t": "None",
1381  "s": "",
1382  "invertEnable": "0",
1383  "invertDirection": "0",
1384  "stepsPerMM": 100,
1385  "speed": 10,
1386  "dirPin": -1,
1387  "stepPin": -1,
1388  "enablePin": -1
1389  },
1390  {
1391  "t": "None",
1392  "s": "",
1393  "invertEnable": "0",
1394  "invertDirection": "0",
1395  "stepsPerMM": 100,
1396  "speed": 10,
1397  "dirPin": -1,
1398  "stepPin": -1,
1399  "enablePin": -1
1400  },
1401  {
1402  "t": "None",
1403  "s": "",
1404  "invertEnable": "0",
1405  "invertDirection": "0",
1406  "stepsPerMM": 100,
1407  "speed": 10,
1408  "dirPin": -1,
1409  "stepPin": -1,
1410  "enablePin": -1
1411  },
1412  {
1413  "t": "None",
1414  "s": "",
1415  "invertEnable": "0",
1416  "invertDirection": "0",
1417  "stepsPerMM": 100,
1418  "speed": 10,
1419  "dirPin": -1,
1420  "stepPin": -1,
1421  "enablePin": -1
1422  }
1423  ],
1424  "manualConfig": "#define MACHINE_TYPE \"STACKER\"\n#define ALTERNATIVE_JERK\n#define REDUCE_ON_SMALL_SEGMENTS\n#define MAX_JERK_DISTANCE 0.8 \n#define ZHOME_WAIT_UNSWING 500\n#define BIG_OUTPUT_BUFFER \/\/ allows complete temperature line as output\n#define CUSTOM_LOGO\n#define LOGO_WIDTH 128\n#define LOGO_HEIGHT 13\n#define LOGO_BITMAP const unsigned char logo[] PROGMEM = {\\\n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\\\n0x0F, 0xFF, 0xF3, 0xFF, 0xF9, 0xFF, 0xFE, 0x7F, 0xFF, 0x9E, 0x0F, 0x87, 0xFF, 0xF7, 0xFF, 0xFC,\\\n0x1F, 0xFF, 0xF3, 0xFF, 0xF3, 0xFF, 0xFC, 0xFF, 0xFF, 0x3C, 0x1F, 0x07, 0xFF, 0xE7, 0xFF, 0xF8,\\\n0x1F, 0xFF, 0xE7, 0xFF, 0xF3, 0xFF, 0xFC, 0xFF, 0xFF, 0x3C, 0x3E, 0x0F, 0xFF, 0xEF, 0xFF, 0xF8,\\\n0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x7C, 0x00, 0x00, 0x00, 0x00, 0x00,\\\n0x38, 0x00, 0x00, 0x3C, 0x07, 0x80, 0x79, 0xE0, 0x00, 0x78, 0x00, 0x0E, 0x00, 0x0F, 0x00, 0xF8,\\\n0x3F, 0xFF, 0x80, 0x3C, 0x07, 0x3F, 0xF9, 0xE0, 0x00, 0x7B, 0xF8, 0x1F, 0xFF, 0x8F, 0x01, 0xF0,\\\n0x3F, 0xFF, 0xC0, 0x78, 0x0F, 0x7F, 0xF9, 0xC0, 0x00, 0x73, 0xF8, 0x1F, 0xFF, 0x8E, 0x7F, 0xE0,\\\n0x00, 0x03, 0xC0, 0x78, 0x0E, 0x00, 0x73, 0xC0, 0x00, 0xF0, 0x7C, 0x1E, 0x00, 0x1E, 0xFF, 0xC0,\\\n0x00, 0x03, 0xC0, 0x70, 0x0E, 0x00, 0xF3, 0xC0, 0x00, 0xF0, 0x3E, 0x3C, 0x00, 0x1E, 0xFF, 0xC0,\\\n0x7F, 0xFF, 0x80, 0xF0, 0x1E, 0x00, 0xF3, 0xFF, 0xFC, 0xF0, 0x1E, 0x3F, 0xFF, 0x9C, 0x07, 0xC0,\\\n0xFF, 0xFF, 0x00, 0xF0, 0x1E, 0x01, 0xE7, 0xFF, 0xFD, 0xE0, 0x1F, 0x3F, 0xFF, 0xBC, 0x03, 0xE0,\\\n0xFF, 0xFE, 0x01, 0xE0, 0x3E, 0x01, 0xE7, 0xFF, 0xF9, 0xE0, 0x0F, 0xBF, 0xFF, 0x3C, 0x01, 0xF0\\\n};\n\n#if 0\nInformations:\n\nExtruder temperatures use a user defined table for ATC 104GT sensor. Here a adjustment to\nreal temperatures in nozzle is included. So in deviation to original temperature table these\ntemperatures are used:\n-50 - 30: Original T\n30-260: T-(T-30)*15\/230\n260-300: T-15\n\nNew table stops now at 285\u00b0C so max. settable temperature is 280\u00b0C\n#endif",
1425  "zHomeMinTemperature": 0,
1426  "zHomeXPos": 999999,
1427  "zHomeYPos": 999999,
1428  "zHomeHeatHeight": 20,
1429  "zHomeHeatAll": "1",
1430  "zProbeZOffsetMode": 0,
1431  "zProbeZOffset": 0,
1432  "uiBedCoating": "0",
1433  "langEN": "1",
1434  "langDE": "1",
1435  "langNL": "0",
1436  "langPT": "1",
1437  "langIT": "1",
1438  "langES": "1",
1439  "langFI": "0",
1440  "langSE": "0",
1441  "langFR": "1",
1442  "langCZ": "0",
1443  "langPL": "1",
1444  "langTR": "1",
1445  "interpolateAccelerationWithZ": 0,
1446  "accelerationFactorTop": 100,
1447  "bendingCorrectionA": 0,
1448  "bendingCorrectionB": 0,
1449  "bendingCorrectionC": 0,
1450  "preventZDisableOnStepperTimeout": "1",
1451  "supportLaser": "0",
1452  "laserPin": -1,
1453  "laserOnHigh": "1",
1454  "defaultPrinterMode": 0,
1455  "supportCNC": "0",
1456  "cncWaitOnEnable": 300,
1457  "cncWaitOnDisable": 0,
1458  "cncEnablePin": -1,
1459  "cncEnableWith": "1",
1460  "cncDirectionPin": -1,
1461  "cncDirectionCW": "1",
1462  "startupGCode": "",
1463  "jsonOutput": "1",
1464  "bedLevelingMethod": 0,
1465  "bedCorrectionMethod": 0,
1466  "bedLevelingGridSize": 5,
1467  "bedLevelingRepetitions": 5,
1468  "bedMotor1X": 0,
1469  "bedMotor1Y": 0,
1470  "bedMotor2X": 200,
1471  "bedMotor2Y": 0,
1472  "bedMotor3X": 100,
1473  "bedMotor3Y": 200,
1474  "zProbeRequiresHeating": "0",
1475  "zProbeMinTemperature": 150,
1476  "adcKeypadPin": -1,
1477  "sharedExtruderHeater": "0",
1478  "interpolateZAxis": "1",
1479  "zAccelerationTop": 30,
1480  "maxHalfstepInterval": 1999,
1481  "hasMAX6675": false,
1482  "hasMAX31855": false,
1483  "hasGeneric1": false,
1484  "hasGeneric2": false,
1485  "hasGeneric3": false,
1486  "hasUser0": true,
1487  "hasUser1": false,
1488  "hasUser2": false,
1489  "numExtruder": 4,
1490  "version": 92.8,
1491  "primaryPortName": ""
1492 }
1493 ========== End configuration string ==========
1494 
1495 */
Data to drive one extruder.
Definition: Extruder.h:230